package org.programmers.anonymous.fightrobots.model;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;

@JsonTypeInfo( use = Id.NAME )
@JsonSubTypes(
    {
        @Type( name = "Weapon", value = Weapon.class )
    }
)
public interface IWeapon {

	public int getIdWeapon();
	public void setIdWeapon(int idW);
	public String getName();
	public void setName(String n);
	public int getPower();
	public void setPower(int p);
	public int getHits();
	public void setHits(int hits);
	
	@Override
	public boolean equals(Object ow);
}
